/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.jsysacc.asistencia.model.dao.design.maestros;

import com.jsysacc.asistencia.model.beans.maestros.Area;
import java.sql.SQLException;
import java.util.ArrayList;

/**
 *
 * @author Carlos
 */
public interface IAreaDAO {

    public abstract boolean insert(Area entity) throws SQLException;

    public abstract boolean update(Area entity) throws SQLException;

    public abstract boolean delete(String pk) throws SQLException;

    public abstract ArrayList<Area> getAll() throws SQLException;

    public abstract ArrayList<Area> getByCriterio(String criterio, String valor) throws SQLException;

    public abstract Area getByPk(String pk) throws SQLException;
}
